﻿using System;
using System.ComponentModel.DataAnnotations;

namespace LJSheng.Data
{
    /// <summary>
    /// 用户表
    /// </summary>
    public class zhekou
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public Guid gid { get; set; }

        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime addtime { get; set; }

        /// <summary>
        /// 商家gid
        /// </summary>
        public Guid shopgid { get; set; }

        /// <summary>
        /// 折扣名称
        /// </summary>
        [StringLength(20)]
        public string name { get; set; }

        /// <summary>
        /// 会员消费的折扣
        /// </summary>
        public decimal mingzhe { get; set; }

        /// <summary>
        /// 平台收取的折扣
        /// </summary>
        public decimal anzhe { get; set; }
    }
}
